package struct.decorator.example;

/**
 * 具体人类，等同于ConcreteComponent
 */
public class Person implements ICharacter{

    private String name;

    public Person(String name) {
        this.name = name;
    }

    @Override
    public void show() {
        System.out.println("装扮的" + name);
    }
}
